#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/i2c.h>

static struct i2c_board_info __initdata mytoy_i2c_devices[] = {
	{
		I2C_BOARD_INFO("sfh7771", 0x38),
	},
 
	{
		I2C_BOARD_INFO("sn3112", 0x54),
	},
 
	{
	},
};

static int __init i2c_device_init(void)
{
	i2c_register_board_info(0, mytoy_i2c_devices, ARRAY_SIZE(mytoy_i2c_devices));

	return 0;
}

module_init(i2c_device_init);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Yuyaowen");
